<template>
  <div>
    <!-- <h1>我的主页</h1> -->
    <!-- 背景图顶部 -->
    <div class="bg" style="width: 100%;height:180px; background: #BA6608; ">
      <van-image
      class="pic"
      round
      width="60px"
      height="60px"
      src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
      />
      <h1 class="tit">瞧,那个小妞在放肆</h1>
      <p class="num">账号:132****5532</p>
      <van-icon @click="$router.push('/home/setup')" class="set" name="setting" color="#FFF" size="30"/>
    </div>

    <!-- 余额部分 -->
    <ul>
      <li>
        <van-icon name="card"  size="40"/>
        <span>余额</span>
      </li>
      <li>
        <van-icon name="card" size="40" />
        <span>提现</span>
      </li>
    </ul>

    <!-- 页面内容导航部分 -->

    <div>
      <div class="main">
        <div class="main-1">
          <van-icon name="chart-trending-o" size="40"/>
          <span style="margin-left: 15px;">我的收益</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="hot" size="40"/>
          <span style="margin-left: 15px;">直属粉丝</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="add"  size="40"/>
          <span style="margin-left: 15px;">推荐粉丝</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="hot"  size="40"/>
          <span style="margin-left: 15px;">直属公司</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="add"  size="40"/>
          <span style="margin-left: 15px;">推荐公司</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="wechat-moments"  size="40"/>
          <span style="margin-left: 15px;">玩法介绍</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="new"  size="40"/>
          <span style="margin-left: 15px;">我要开虚拟公司</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
      <div class="main">
        <div class="main-1">
          <van-icon name="star"  size="40"/>
          <span style="margin-left: 15px;">城市代理人</span>
        </div>
        <div class="main-2">
          <span style="margin-right: 15px;">100</span>
          <van-icon name="arrow" />
        </div>
      </div>
      <hr>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped>
.bg{
  overflow: hidden;
  position: relative;
}
.pic{
  position: absolute;
  top:20%;
  left:40%;
}
.tit{
  position: absolute;
  top: 50%;
  left:29%;
  font-size: 18px;
  color: #fff;
}
.num{
  position: absolute;
  top: 65%;
  left:33%;
  font-size: 15px;
  color: #C4B9CC;
}
.set{
  position: absolute;
  right: 5%;
  top: 15%;
}
ul{
  width: 100%;
  height: 60px;
  margin-top: 10px;
  display: flex;
  line-height: 60px;
  justify-content: space-around;
  color: gray;
  margin-bottom: 20px;
}
li{
  display: flex;
  align-items: center;
}

.main{
  color: gray;
  display: flex;
  height: 60px;
  line-height: 60px;
  align-items: center;
  justify-content: space-between;
}
.main-1{
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.main-2{
  margin-right: 20px;
}
</style>